import request from '/@/utils/request';

export function getEmojis(query?:Object) {
    return request({
        url: '/api/v1/common/emojis',
        method: 'get',
        params:query
    })
}
export function getGenerateToken(query?:Object) {
    return request({
        url: '/api/v1/common/create/token',
        method: 'get',
        params: query
    })
}
export function uploadAttachment(data?:Object) {
    return request({
        url: '/api/v1/common/file/upload',
        method: 'post',
        data: data
    })
}
